package com.xingkeduo.business.user.controller;

import com.xingkeduo.business.user.domain.PushDomain;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @Author:gaozifeng
 * @Date 2019/6/5 16:05
 **/
@RequestMapping("/consumer/push")
@RestController
public class ConsumerPushController {

    @Autowired
    private PushDomain pushDomain;


    /**
     * 推送见剪发提醒
     *
     * @param :
     * @return : void
     * @author : gaozifeng
     * @date : 2019/6/5 17:07
     */
    @PostMapping("/hair")
    public void consumerPushCutHair() throws Throwable {
        pushDomain.scanConsumerCutHair();
    }
}
